package sellComputer;

public class KingstonMem extends Memory{
	private String name = "kingston1";
	private int volum = 2;
	private int price = 1500;
	
	public KingstonMem(String name,int volum,int price) {
		this.name = name;
		this.volum = volum;
		this.price = price;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public int getVolum() {
		return volum;
	}

	public void setVolum(int volum) {
		this.volum = volum;
	}

	public int getPrice() {
		return price;
	}
	
	public void setPrice(int price) {
		this.price = price;
	}
	
	@Override
	public void work(){
		System.out.println("Kingston memory work");
	}

}
